約 2,819,318 件
https://w.atwiki.jp/abwiki/pages/362.html
名前空間とは、同じ識別子がかち合わないようにするためのテクニック。
https://w.atwiki.jp/perlref/pages/100.html
名前空間 【用語】 【説明】 変数や関数がそれぞれ独自に持つ、それぞれの名前とは別の大きなまとまりの名前。 わかりやすく言えば、人間の名前で言う苗字に値する。 ありがたみは、ライブラリやモジュールを作るようになって初めてわかるような気がする。 Perlでは、省略時は「main」となる。 【関連事項】 package オブジェクト指向 ライブラリ モジュール
https://w.atwiki.jp/takaidohigasi/pages/29.html
- 人目 ( ̄ー ̄)/~~ アリガトネ MySQL5.5 リファレンス 2. MySQLのインストールおよびアップグレード ORIGINAL http //dev.mysql.com/doc/refman/5.5/en/installing.html MySQLのインストールおよびアップグレード 目次 2.1. 共通インストールガイド 2.2. Installing MySQL from Generic Binaries on Unix/Linux 2.3. Installing MySQL on Microsoft Windows [+/-] 2.4. Installing MySQL on Mac OS X [+/-] 2.5. Installing MySQL on Linux [+/-] 2.6. Installing MySQL on Solaris and OpenSolaris [+/-] 2.7. Installing MySQL on HP-UX [+/-] 2.8. Installing MySQL on FreeBSD 2.9. Installing MySQL from Source [+/-] 2.10. Postinstallation Setup and Testing [+/-] 2.11. Upgrading or Downgrading MySQL [+/-] 2.12. Environment Variables 2.13. Perl Installation Notes [+/-] This chapter describes how to obtain and install MySQL. A summary of the procedure follows and later sections provide the details. If you plan to upgrade an existing version of MySQL to a newer version rather than install MySQL for the first time, see Section 2.11.1, “Upgrading MySQL”, for information about upgrade procedures and about issues that you should consider before upgrading. If you are interested in migrating to MySQL from another database system, you may wish to read Section B.8, “MySQL 5.5 FAQ Migration”, which contains answers to some common questions concerning migration issues. Determine whether MySQL runs and is supported on your platform. Please note that not all platforms are equally suitable for running MySQL, and that not all platforms on which MySQL is known to run are officially supported by Oracle Corporation Choose which distribution to install. Several versions of MySQL are available, and most are available in several distribution formats. You can choose from pre-packaged distributions containing binary (precompiled) programs or source code. When in doubt, use a binary distribution. We also provide public access to our current source tree for those who want to see our most recent developments and help us test new code. To determine which version and type of distribution you should use, see Section 2.1.2, “Choosing Which MySQL Distribution to Install”. Download the distribution that you want to install. For instructions, see Section 2.1.3, “How to Get MySQL”. To verify the integrity of the distribution, use the instructions in Section 2.1.4, “Verifying Package Integrity Using MD5 Checksums or GnuPG”. Install the distribution. To install MySQL from a binary distribution, use the instructions in Section 2.2, “Installing MySQL from Generic Binaries on Unix/Linux”. To install MySQL from a source distribution or from the current development source tree, use the instructions in Section 2.9, “Installing MySQL from Source”. Perform any necessary postinstallation setup. After installing MySQL, read Section 2.10, “Postinstallation Setup and Testing”. This section contains important information about making sure the MySQL server is working properly. It also describes how to secure the initial MySQL user accounts, which have no passwords until you assign passwords. The section applies whether you install MySQL using a binary or source distribution. If you want to run the MySQL benchmark scripts, Perl support for MySQL must be available. See Section 2.13, “Perl Installation Notes”. Instructions for installing MySQL on different platforms and environments is available on a platform by platform basis Unix, Linux, FreeBSD For instructions on installing MySQL on most Linux and Unix platforms using a generic binary (for example, a .tar.gz package), see Section 2.2, “Installing MySQL from Generic Binaries on Unix/Linux”. For information on building MySQL entirely from the source code distributions or the source code repositories, see Section 2.9, “Installing MySQL from Source” For specific platform help on installation, configuration, and building from source see the corresponding platform section Linux, including notes on distribution specific methods, see Section 2.5, “Installing MySQL on Linux”. Solaris and OpenSolaris, including PKG and IPS formats, see Section 2.6, “Installing MySQL on Solaris and OpenSolaris”. IBM AIX, see Section 2.6, “Installing MySQL on Solaris and OpenSolaris”. Hewlett-Packard HP-UX, including the DEPOT package format, see Section 2.7, “Installing MySQL on HP-UX”. FreeBSD, see Section 2.8, “Installing MySQL on FreeBSD”. Microsoft Windows For instructions on installing MySQL on Microsoft Windows, using either a Zipped binary or an MSI package, see Section 2.3, “Installing MySQL on Microsoft Windows”. For information on using the MySQL Server Instance Config Wizard, see Section 2.3.5, “MySQL Server Instance Configuration Wizard”. For details and instructions on building MySQL from source code using Microsoft Visual Studio, see Section 2.9, “Installing MySQL from Source”. Mac OS X For installation on Mac OS X, including using both the binary package and native PKG formats, see Section 2.4, “Installing MySQL on Mac OS X”. For information on making use of the MySQL Startup Item to automatically start and stop MySQL, see Section 2.4.3, “Installing the MySQL Startup Item”. For information on the MySQL Preference Pane, see Section 2.4.4, “Installing and Using the MySQL Preference Pane”. IBM i5/OS
https://w.atwiki.jp/mmd4unity/pages/19.html
Interpreter Interpreter.Construction Interpreter.Construction.Element Compiler Configuration Configuration.Exception Interpreter 中間フォーマットを解釈し、記録された構文から処理を行うためのクラスの集まり。 Interpreter.Construction 構文インターフェースなどの集まり。 特に構文の中でも最も基本的なインターフェースが集まっている。 Interpreter.Construction.Element 解釈される構文を入れておくための名前空間。 ここに構文インターフェースを継承したクラスを入れておかないと、 構文を解釈することができない。 Compiler 吉里吉里の(正確にはKAGに似た)構文を解釈し、中間フォーマットに起こすクラスの集まり。 中間フォーマットはXMLで定義される。 Configuration 設定などを記録するためのクラスの集まり。その他。 Configuration.Exception 必要な例外など。
https://w.atwiki.jp/scclassdoc/pages/21.html
名前空間の名前 名前空間に適切な名前を付けることで、プログラマはその名前空間にどういったものがあるのか、すぐに判断することができる。 次のテンプレートは、名前空間の命名規則を示している。 Softcube.メインカテゴリ.サブカテゴリ 次に名前空間の具体例も示しておこう。 Softcube.Utility Softcube.Geometry Softcube.Mvvm Softcube.SceneGraph Softcube.SceneGraph.Graphics Softcube.SceneGraph.Physics Softcube.Models.Domain Softcube.Models.Simulation Softcube.ViewModels Softcube.Views ✔ Pascal 記法を使用し、ピリオド(.)で名前空間のコンポーネントを分割しよう。 お客様のブランド名が一般的な名前空間の大文字と小文字の表記から逸脱している場合、ブランドで定義された大文字と小文字の表記に従おう。 ✔ 適切な個所では名前空間の名前に複数形を使用することを検討しよう。 たとえば、Softcube.ViewModel の代わりに Softcube.ViewModels を使用する。 ただしブランド名や略語は、この規則の例外とする。 ✖ 名前空間とその名前空間内の型に同じ名前を使用しない。 たとえば、Debug という名前空間内に同じ Debug というクラス名を使用しない。 名前空間と型名の競合 このセクションに示すガイドラインのいくつかは、次のカテゴリの名前空間に関連している。 アプリケーション モデル名前空間 アプリケーション モデルの名前空間は、アプリケーションのクラスに固有の機能セットを提供する。 たとえば、System.Windows.Forms 名前空間の型は、Windows フォーム クライアント アプリケーションの作成に必要な機能を提供する。 System.Web 名前空間の型は、Web ベースのサーバー アプリケーションの作成をサポートする。 インフラストラクチャ名前空間 インフラストラクチャ名前空間は、通常のコードではめったに参照されない。 たとえば、*.Designer 名前空間の型は VisualStudio によって使用される。*.Permissions 名前空間もインフラストラクチャ名前空間の 1 つだ。 コア名前空間 コア名前空間とは、アプリケーション名前空間とインフラストラクチャ名前空間を除く System.* 名前空間のことだ。 System と System.Text は、コア名前空間の一例である。 ✔ 既存の名前と競合する名前空間名や型名を選択した場合、ライブラリ ユーザーは、影響を受ける項目への参照を修飾しなくてはならない。 大部分のコードでは、このような事態を避けよう。 ✖ Element 、Node 、Log 、および Message など一般的な名前を型名として使用しない。 一般的な名前の競合は高い確率でおこる。一般的な名前は修飾できないかを検討しよう (FormElement, 、XmlNode, 、EventLog, 、SoapMessage)。山﨑:上記はマイクロソフトのガイドラインからの引用だが、この規則は不要だと思う(厳守すると可読性が下がるように思う)。たとえば、Color、Material、Line、Arc、Point3d、Vector3dなどは一般的な名前の主要な型だが、修飾語やプレフィックスをつけると読みにくい。そもそも .NET Framework 内にも、File、Directory、TimeSpan、Color など一般的な名前の型が数多く含まれている。 ✖ コア名前空間の型と競合する名前は必ず避けよう。 たとえば、Stream という型名を使用しないで欲しい。非常に良く使用する System.IO.Stream と競合するからだ。
https://w.atwiki.jp/takaidohigasi/pages/31.html
- 人目 ( ̄ー ̄)/~~ アリガトネ MySQL5.5 リファレンス 2. MySQLのインストールおよびアップグレード 2.1 共通インストールガイド 2.1.1 MySQL Community ServerでサポートされるOS ORIGINAL http //dev.mysql.com/doc/refman/5.5/en/supported-os.html MySQL Community ServerでサポートされるOS この節では、MySQLが動作することが確認されているOSについてリストアップします。 重要 オラクル社は、必ずしもこの節に記載の全てのプラットフォームの公式サポートをしておりません。公式にサポートされているプラットフォームに関しては、MySQLウェブサイトの[[http //www.mysql.com/support/supportedplatforms.htm]]をご覧ください。 我々は、MySQLを現代のC++コンパイラがあり、POSIXスレッドが動作する全てのシステム上で動くようにするために、CMakeを使っています(スレッド機能のサポートはサーバーには必須です。クライアントコードをコンパイルするだけなら、C++コンパイラだけ必要となります)。 MySQLは、下記のOSとスレッドのパッケージで正常にコンパイル出来ることが報告されています。 ネイティブスレッド機能があるFreeBSD 5.x 以上。詳細は2.8節の「MySQLのFreeBSDへのインストール」を参照。 ネイティブスレッド機能があるHP-UX 11.x。詳細は2.8節の「MySQLのHP-UXへのインストール」を参照。 Linux。2.6カーネルに基づいた近年の全てのディストリビューション。詳細は2.5節の「MySQLのLinuxへのインストール」を参照。 Max OS X。詳細は「MySQLのMax OS Xへのインストール」 ネイティブスレッドへのサポートがあるSPARCおよびx86上のSolaris 2.8。詳細は2.6節MySQLのSolarisおよびOpenSolarisへのインストールを参照。 Windows XP, Windows Vista, Windows Server 2003, Windows Server 2008。詳細は2.3節の、「MySQLのMicrosoft Windowsへのインストール」を参照 過去のバージョンでは、他のシステムでも稼働が確認されています。詳細は2.1節の「共通インストールガイド」を参照してください。これらのシステムに現在のバージョンを移行するにはいくつか苦労する点があるかもしれません。 全ての環境がMySQLを動かすのに等しく適しているというわけではありません。あるプラットフォームが負荷の高いミッションクリティカルなMySQLサーバーにどの程度適しているかは、下記の要素で決まります。 スレッドライブラリの安定性。 A platform may have an excellent reputation otherwise, but MySQL is only as stable as the thread library it calls, even if everything else is perfect. カーネル・スレッドライブラリが、SMP(symmetric multi-processor)システムの利点をどの程度活かせるか。言い換えれば、プロセスがスレッドを生成した時、そのスレッドが元のプロセスと違うCPUでさばけること カーネル・スレッドのライブラリが、mutex獲得・解放をコンテキストを過剰に変えることなく、。pthread_mutex_lock()の実装がCPU時間に依存しすぎるならば、MySQLの性能を大きく損ないます。この問題が考慮されない場合は、CPUを増やすことが、MySQLを遅くすることにつながります。 The capability of the kernel and the thread library to run many threads that acquire and release a mutex over a short critical region frequently without excessive context switches. If the implementation of pthread_mutex_lock() is too anxious to yield CPU time, this hurts MySQL tremendously. If this issue is not taken care of, adding extra CPUs actually makes MySQL slower. ファイルシステムの安定性及び性能. テーブルサイズ。もしテーブルが大きければ、ファイルシステムが大きいファイルを効率的に扱えるかどうかが性能に影響します。 オラクル社がそのプラットフォームにどの位熟練しているか。知っているプラットフォームに関しては、プラットフォーム特有の最適化をコンパイル時に行っています。MySQLのコンフィグを最適化する方法についてもアドバイス出来ます。 我々が内部で 同様のコンフィギュレーションでテストをしたことがある回数 同じようなコンフィグでうまく動いているMySQLのユーザ数。この数字が大きければ、プラットフォーム特有の問題に直面する可能性は低くなります。
https://w.atwiki.jp/ca07/pages/15.html
名前空間定義 namespasce 名前空間 { 宣言や定義の並び } namespace N { double a = 0.0; int foo1() {return 0;} } ※複数の場所で同じ名前空間を定義できる。 別のファイルの中でもよい
https://w.atwiki.jp/c-note/pages/14.html
MySQL オープンソースなデータベース、MySQLに関するページ。 MySQLは、オープンソースながら、多くの企業でも採用されている実績のあるデータベースです。 ダウンロード インストール 環境変数の設定 データベースのログオン/ログオフ データベースの作成/削除 ユーザーの作成/削除/権限の変更 別のPCからの接続 MySQL Workbenchの接続設定 テーブルの作成(テキスト編) テーブルの作成(ファイル編) テーブルの削除
https://w.atwiki.jp/ryouga0415/pages/78.html
更新日:2009-08-26 XML名前空間とは、XML文書内にある「定義内容は異なるが同じ名前の要素名または属性名」 を区別し、名前の衝突を回避するための仕組みです。 名前空間の宣言 要素名 xmlns 接頭辞="名前空間識別子" 接頭辞:任意の文字列 名前空間識別子:URI 要素や属性が名前空間に属する場合は、名前空間接頭辞と要素名、属性名の間に「:コロン」 を記述します。 名前空間宣言の有効範囲 名前空間宣言の有効範囲(スコープ)とは、名前空間宣言で宣言した名前空間接頭辞を記述できる 範囲のことで、その範囲は名前空間宣言が記述された要素とその内容になります。 名前空間宣言が記述された要素や子孫要素、その中で定義されている属性に名前空間接頭辞を記述 できます。 属性が属する名前空間 属性の場合、属性が定義されている要素が属する名前空間と同じ名前空間に属することも、 要素が属する名前空間とはまったく異なる名前空間に属することもできます。 属性が名前空間に属する場合の記述は要素と同じで、属性名の前に「名前空間接頭辞」と 記述します。また、属性名に名前空間接頭辞が記述されていなければ、どの名前空間にも 属さないことになります。 デフォルトの名前空間 名前空間接頭辞を使用しない名前空間宣言のことで、その有効範囲(スコープ)は前述の 名前空間の有効範囲と同様に、デフォルトの名前空間が宣言された要素とその内容になります。 XSLTの制御命令 条件付きの処理xsl if命令 test属性に記述したXPath式によって、結果が真であればそのxsl if命令内に書かれた テンプレートを実行します。真でなければ何も実行しません。 if~else~というような、真でない場合に対応するテンプレートの記述はありません。 そのような場合は、xsl choose命令を使用します。 xsl if tst="商品/@新製品= true " /xls if 条件分岐の処理xsl choose命令 xsl choose命令の子要素としてxsl when命令を記述します。 xsl when命令に指定されたtest属性が真となる場合、その xsl when命令内のテンプレートを実行します。 複数のxsl when命令を記述することもでき、その場合には 最初に真となるxsl when命令内のテンプレートだけが実行 されます。 xsl choose xsl when test="商品/在庫数 10" /xsl when xsl otherwise /xsl otherwise /xsl choose 繰り返し処理するxsl for-each命令 xsl for-each命令のselect属性にノードセットとなるようなXPathを 指定し、選択されたノードごとにxsl for-each内のテンプレートを 繰り返し実行します。 xsl for-each select="カタログ/商品" /xsl for-each xsl apply-templatesとxsl for-eachの使い分け xsl apply-templates命令では、選択されたノードセットに対し 個々にxsl template要素が適用されるため、xsl for-each命令 と同じように反復処理を表現することもできます。 xsl template match="商品" xsl apply-templates select="商品リスト/商品"/ /xsl template xsl template match="商品" /xsl template xsl templaate match="商品[単価 500]" /xsl template ノードのコピー XML文書から別のXML文書へ変換する場合、元のXML文書の一部をそのまま使える 場合があります。このとき、[xsl copy-of命令]や[xsl copy命令]を使って 元のXML文書から要素や属性をコピーして出力できます。 xsl copy-of命令 xsl copy-of命令のselect属性に指定sれたノードとその子孫ノードを一括して コピーできます。 xsl copy命令 xsl copy-of命令のように、一括してコピーするのではなく、部分的にコピーしたり、 別の要素を追加したり、細かい単位でコピーする場合にはxsl copy命令をしようする ことでカレントノードだけをコピーできます。
https://w.atwiki.jp/takaidohigasi/pages/23.html
- 人目 ( ̄ー ̄)/~~ アリガトネ MySQL5.5 リファレンス 1. 一般情報 1.3 MySQL DBMS(データベース管理システム)の概要 ORIGINAL http //dev.mysql.com/doc/refman/5.5/en/what-is.html MySQLって何? MySQLの主な特徴 MySQLの歴史